ReactiveCollectionViewSource class¶
Attributes: [DebuggerDisplay("{Data}")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.ReactiveCollectionViewSource<T>
Modifiers: public
Summary¶
ReactiveCollectionViewSource is a Collection View Source that is
connected to a Read Only List that automatically updates the View based
on the contents of the list. The collection changes are buffered and
View items are animated in and out as items are added.
Applies to
net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
Class hierarchy
classDiagram
class ReactiveCollectionViewSource~T~
class UICollectionViewSource
UICollectionViewSource <|-- ReactiveCollectionViewSource~T~
class IReactiveNotifyPropertyChanged~ReactiveCollectionViewSource~TSource~~ {
<>
}
IReactiveNotifyPropertyChanged~ReactiveCollectionViewSource~TSource~~ <|.. ReactiveCollectionViewSource~T~
class IHandleObservableErrors {
<>
}
IHandleObservableErrors <|.. ReactiveCollectionViewSource~T~
class IReactiveObject {
<>
}
IReactiveObject <|.. ReactiveCollectionViewSource~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. ReactiveCollectionViewSource~T~
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. ReactiveCollectionViewSource~T~
class IEnableLogger {
<>
}
IEnableLogger <|.. ReactiveCollectionViewSource~T~
Inherits from: UICollectionViewSource
Implements: IReactiveNotifyPropertyChanged
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveCollectionViewSource](# class. |
Properties¶
| Name | Summary |
|---|---|
| Data | Gets or sets the data that should be displayed by this [ReactiveCollectionViewSource](# You should probably bind your view model to this... |
| ElementSelected | Gets an IObservable that is a hook to [ItemSelected](# calls. |
| Changing | Gets an Observable that signals before a property is about to be changed. |
| Changed | Gets an Observable that signals after a property has changed. |
| ThrownExceptions | Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state. |
Methods¶
| Name | Summary |
|---|---|
| GetCell | |
| NumberOfSections | |
| GetItemsCount | |
| ItemSelected | |
| ItemAt | Returns the Item at the specified index path. |
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| Dispose |
Events¶
| Name | Summary |
|---|---|
| PropertyChanging | |
| PropertyChanged |